package com.study.exception;

/**
 * @description：基础异常类
 * @author：李军荣
 * @date: 2020/12/22 21:13
 */
public class BaseException extends RuntimeException{
    protected String code;
    protected String msg;

    public BaseException() {
        super();
    }
    public BaseException(String message) {
        super(message);
        this.msg=message;
    }

    public BaseException(String code, String msg) {
        super();
        this.code = code;
        this.msg = msg;
    }
}
